package com.dayaokeji.server_api.domain;

/**
 * Created by Gorden on 2018/3/22.
 */

public class RemoteHost {

    private Long id;
    private String name;
    private String host;
    private boolean allowregister;

    public String getName() {
        return name;
    }

    public void setName(String serverName) {
        this.name = serverName;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String serverHost) {
        this.host = serverHost;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public boolean isAllowregister() {
        return allowregister;
    }

    public void setAllowregister(boolean allowregister) {
        this.allowregister = allowregister;
    }


    @Override
    public String toString() {
        return "RemoteHost{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", host='" + host + '\'' +
                ", allowregister=" + allowregister +
                '}';
    }
}
